import requests from '@/utils/request'

export const GetExAccount = () => {
   return requests({
    url: '/v1/exDoctor/',
    method: 'get',
  })
}

export const GetAccountOverView = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/account/overview/',
    method: 'get',
    params: { fn, start, end }
  })
}

export const GetAccountNetValue = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/account/netValue/',
    method: 'get',
    params: { fn, start, end }
  })
}

export const GetAccountPeriodProfit = (fn, start, end) => {
  return requests({
    url: '/v1/exDoctor/account/periodProfit/',
    method: 'get',
    params: { fn, start, end }
  })
}